package com.zxkj.domain.entity;

import javax.persistence.EmbeddedId;
import javax.persistence.Entity;

/**
 * Created by Administrator on 2017/7/11.
 */

@Entity
public class SciMapAdCorporation {
    @EmbeddedId
    private SciMapAdCorporationPK sciMapAdCorporationPK;

    public SciMapAdCorporation() {
    }

    public SciMapAdCorporation(String adId, Integer corpId) {
        this.sciMapAdCorporationPK = new SciMapAdCorporationPK(adId,corpId);
    }

    public SciMapAdCorporationPK getSciMapAdCorpPK() {
        return sciMapAdCorporationPK;
    }

    public void SciMapAdCorporationPK(SciMapAdCorporationPK sciMapAdCorporationPK) {
        this.sciMapAdCorporationPK = sciMapAdCorporationPK;
    }
}

